/**
 * @Auto generation code
 * Guo An Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, loading
 * 取消订单 - GET
 */
export const cancelOrder = async (loading) => {
	return await request.get('/guoan-api/cancel', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * 订单完成 - GET
 */
export const complete = async (loading) => {
	return await request.get('/guoan-api/complete', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * 创建订单 - GET
 */
export const createOrder = async (loading) => {
	return await request.get('/guoan-api/foundOrder', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * mock - GET
 */
export const mock = async (loading) => {
	return await request.get('/guoan-api/mock/${str}', {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * mock - POST
 */
export const mock = async (loading) => {
	return await request.post('/guoan-api/mock/${str}', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * 获取可用时间列表 - GET
 */
export const queryAvailableTimeslots = async (loading) => {
	return await request.get('/guoan-api/queryAvailableTimeslots', {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 获取可用时间列表 - POST
 */
export const queryAvailableTimeslots = async (loading) => {
	return await request.post('/guoan-api/queryAvailableTimeslots', {
		
	}, {
		
	}, loading)
}

